const wd = require('./wd-tools/index')

// 格式化时间的功能
const dtStr = wd.dateFormat(new Date())
console.log(dtStr);

const htmlStr = '<h1 title="abc"><span>123&nbsp;</span></h1>'
const str = wd.htmlEscape(htmlStr)
consolt.log(str)

const str2 = wd.htmlUnEscape(str)
console.log(str2)